package com.kingyun.gpsinspection.purificationservice.dao.mapper.som;


import com.kingyun.gpsinspection.purificationservice.facade.model.som.Praise;

import java.util.List;

/**
 * 点赞Mapper
 */
public interface PraiseMapper {

    /**
     * 点赞
     * @param record
     * @return
     */
    int insert(Praise record);

    /**
     * 查询点赞情况
     * @param record
     * @return
     */
    List<Praise> queryPraise(Praise record);

    /**
     * 取消点赞
     * @param record
     * @return
     */
    int deletePraise(Praise record);

}